package com.dw.article.utils;

import org.springframework.stereotype.Component;

import java.util.List;
import java.util.stream.Collectors;

@Component
public class ChangeList {
    public List<String> changeList(List<Long> list){
        List<String> list1 = list.stream().map(String::valueOf).collect(Collectors.toList());
        return list1;
    }
}
